package com.hui.entity.dao;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 门店自提(SystemStore)表实体类
 *
 * @author hui
 * @since 2022-09-14 15:12:51
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("system_store")
public class SystemStore extends BaseDomain {

    @TableId
    private Integer id;
    @NotBlank(
            message = "请填写门店名称"
    )
    private String name;
    @NotBlank(
            message = "请填写门店简介"
    )
    private String introduction;
    @NotBlank(
            message = "请填手机号码"
    )
    private String phone;
    @NotBlank(
            message = "请填地址"
    )
    private String address;
    private String detailedAddress;
    @NotBlank(
            message = "请上传门店logo"
    )
    private String image;
    @NotBlank(
            message = "请输入纬度"
    )
    private String latitude;
    @NotBlank(
            message = "请输入经度"
    )
    private String longitude;
    @NotBlank(
            message = "请输入核销时效"
    )
    private String validTime;
    @NotBlank(
            message = "请输入营业时间"
    )
    private String dayTime;
    private Integer isShow;
    private Date validTimeEnd;
    private Date validTimeStart;
    private Date dayTimeStart;
    private Date dayTimeEnd;


}

